package com.mobile.service.inter;

import com.mobile.service.dto.InsuranceApprovalDTO;
import com.mobile.service.dto.InsuranceApprovalQueryDTO;
import com.mobile.service.entity.InsuranceApproval;
import com.mobile.util.PageResult;

import java.util.List;
import java.util.Map;

/**
 * 保险审核表Service接口
 */
public interface InsuranceApprovalService {

    /**
     * 新增保险审核
     */
    Map<String, Object> addInsuranceApproval(InsuranceApprovalDTO dto) throws Exception;

    /**
     * 分页获取保险审核列表
     */
    PageResult<InsuranceApprovalDTO> getInsuranceApprovalListPage(InsuranceApprovalQueryDTO queryDTO) throws Exception;

    /**
     * 根据主键获取保险审核信息
     */
    InsuranceApprovalDTO getInsuranceApprovalById(Integer id) throws Exception;

    /**
     * 修改保险审核信息
     */
    Map<String, Object> updateInsuranceApproval(InsuranceApprovalDTO dto) throws Exception;

    /**
     * 根据主键删除保险审核
     */
    Map<String, Object> removeInsuranceApproval(Integer id) throws Exception;

    /**
     * 条件查询保险审核列表
     */
    List<InsuranceApprovalDTO> getInsuranceApprovalList(InsuranceApprovalQueryDTO queryDTO) throws Exception;

    /**
     * 插入保险审核实体
     */
    void insertInsuranceApproval(InsuranceApproval insuranceApproval) throws Exception;
}
